<?php

namespace app\validate;

use think\Validate;

/**
 * 订单管理-证书办理
 */
class OrderCertExamine extends Validate
{
    protected $rule = [
        'aliasId|别名' => 'require',
        'page|页码' => 'require|number',
        'pageNum|每页条数' => 'require|number',
        'certificate_code|证书编号' => 'requireWith:certificate_code',
        'create_start_date|开始创建时间' => 'requireWith:create_start_date',
        'create_end_date|结束创建时间' => 'requireWith:create_end_date',
        'certificate_leibie|证书类别' => 'requireWith:certificate_leibie',
        'certificate_leixing|证书类型' => 'requireWith:certificate_leixing',
        'certificate_dengji|证书等级' => 'requireWith:certificate_dengji',
        'certificate_zhuanye|证书专业' => 'requireWith:certificate_zhuanye',
        'social_security|社保' => 'requireWith:social_security',
        'social_security_acc_status|社保账户' => 'requireWith:social_security_acc_status',
        'certificate_b|b证' => 'requireWith:certificate_b',
        'b_doc_status|b证是否调入' => 'requireWith:b_doc_status',
        'project|项目' => 'requireWith:project',
        'cycle|周期' => 'requireWith:cycle',
        'transfer|是否中转' => 'requireWith:transfer',
        'acquisition_start_time_date|收证时间开始' => 'requireWith:acquisition_start_time_date',
        'acquisition_end_time_date|收证时间结束' => 'requireWith:acquisition_end_time_date',
        'contract_start_price|合同价格开始' => 'requireWith:contract_start_price',
        'contract_end_price|合同价格结束' => 'requireWith:contract_end_price',
        'catual_start_price|实际价格开始' => 'requireWith:catual_start_price',
        'catual_end_price|实际价格结束' => 'requireWith:catual_end_price',
        'person_account|人才账户' => 'requireWith:person_account',
        'person_password|人才密码' => 'requireWith:person_password',
        'mobile|手机号' => 'requireWith:mobile',
        'get_org|收证部门' => 'requireWith:get_org',
        'get_uid|收证人员' => 'requireWith:get_uid',
        'status|状态' => 'requireWith:status',
    ];
}